package cn.com.taurus.impl;

import cn.com.taurus.entity.Fund;
import cn.com.taurus.entity.FundCompanyAndFundManager;
import cn.com.taurus.mapper.FundCompanyAndFundManagerMapper;
import cn.com.taurus.mapper.FundMapper;
import cn.com.taurus.service.FundCompanyAndFundManagerService;
import cn.com.taurus.service.FundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author zhy
 * @createTime 2021-6-3 20:49:18
 * @remark 基金公司和基金经理Impl层
 * @version 1.0
 */
@Service
public class FundCompanyAndFundManagerImpl implements FundCompanyAndFundManagerService {
    @Autowired
    FundCompanyAndFundManagerMapper fundCompanyAndFundManagerMapper;

    @Override
    public int selectFcfmId() {
        return fundCompanyAndFundManagerMapper.selectFcfmId();
    }

    @Override
    public void addFundCompanyAndFundManager(List<FundCompanyAndFundManager> fundCompanyAndFundManagerData) {
        fundCompanyAndFundManagerMapper.addFundCompanyAndFundManager(fundCompanyAndFundManagerData);
    }
}
